package edu.hz.dao;

import edu.hz.model.entity.ClazzEntity;
import org.apache.ibatis.annotations.Select;

public interface ClazzMapper {

    @Select("SELECT * FROM clazzs WHERE id = #{id}")
    ClazzEntity getClazzById(int id);

    @Select("SELECT COUNT(*) FROM clazzs WHERE id = #{id}")
    int countClazzById(int id);

}
